﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NoteManger;
using WebCache;

namespace WorkWriter
{
    public class SysContext
    {
        public static TLoginInfo User
        {
            get
            {
                return CacheProviders.SessionCache[Keys.USER_CACHE_KEY] as TLoginInfo;
            }
            set
            {
                CacheProviders.SessionCache[Keys.USER_CACHE_KEY] = value;
            }
        }
    }
}